package com.sqn;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * description: 启动器
 * 使用 @EnableAsync 开启异步注解功能
 * 使用 @EnableScheduling 开启定时任务注解功能
 *
 * @author sqn
 * @version 1.0
 * @date 2021/5/31 0031 上午 11:27
 */
@EnableAsync
@EnableScheduling
@SpringBootApplication
public class AsyncApplication {

    public static void main(String[] args) {
        SpringApplication.run(AsyncApplication.class, args);
    }

}
